package graph.geometricshapes
{
	public class GeometricLine extends GeometricShape
	{
		public static const NAME:String = "GeometricLine";
		
		public override function get getName():String
		{
			return NAME;
		}
		
		public function get length():Number
		{
			var result:Number = Math.sqrt(Math.pow(width,2) + Math.pow(height,2));
			return result;
		}
		
		public function GeometricLine(width:Number = DefaultWidth, height:Number = DefaultHeight)
		{
			super(width, height);
		}
		
		public override function getArea():Number
		{
			return 0;
		}
		
		public override function getPerimeter():Number
		{
			return 0;
		}

	}
}